<?php
namespace app\validate;
use share\validate\SceneValidate;

class AmqpValidate extends SceneValidate{

    protected $rule = [
        'service' =>  'require|length:2,120',
        'params' => 'require|array',
        'token' => 'require|length:30,64',
    ];      
    

    protected $scene = [
        'callback' => ['service','params'],
    ];
}
